// pages/me/me.js
Page({
  data: {
    head:'../img/me/head.jpg',
    yy:'../img/me/yy.png',
    dd:[{
      pic:'../img/me/1.png',
      name:'待付款'
    }, {
      pic: '../img/me/2.png',
      name: '待发货'
      }, {
        pic: '../img/me/3.png',
        name: '已发货'
    }, {
      pic: '../img/me/4.png',
      name: '售后服务'
    }
    ],
    lis: [{
      pic:'../img/me/yhq.png',
      name:'优惠券'
    },{
        pic:'../img/me/mrqd.png',
        name:'每日签到'
    },{
        pic:'../img/me/jfsc.png',
        name:'积分商城'
    },{
        pic:'../img/me/lxkf.png',
        name:'联系客服'
    },{
        pic:'../img/me/wdsc.png',
        name:'我的收藏'
    }
    ]
  },
  bindtapH(e){
    var id = e.currentTarget.id
    switch(id){
      case '0':
        wx.navigateTo({url: '../coupon/coupon',})
        break;
      case '1':
          wx.navigateTo({url: '../signin/signin',})
       break;
      case '4':  
      wx.navigateTo({ url: '../shouc/shouc', })
        break;
      default:
          wx.navigateTo({ url: '../myd/myd',})
      break;
    }
  }
})